[NTG-context] Wiki - question about Command/ pages which start with a space character

2024-04-14 Thread garulfo
indentedtext Command/ startitemgroup Command/ startlabeltext Command/ startlinenote Command/ startlines Command/ startmakeup Command/ startmathalignment Command/ startmathcases Command/ startmathmatrix Command/ startmixedcolumns Command/ startnarrower Command/ startnote Command/ startpagecolumns Command/ sta

[NTG-context] Re: mathalignment; alignment of columns

2023-11-24 Thread Mikael Sundqvist
Hi, try \startmathalignment[n=2,align={1:left,2:right}] I think this was changed two or three years ago. /Mikael On Fri, Nov 24, 2023 at 11:04 PM wolfgangbackes--- via ntg-context wrote: > > Something as elementary as "mathenvironment" can't really be faulty, can it? &

[NTG-context] mathalignment; alignment of columns

2023-11-24 Thread wolfgangbackes--- via ntg-context
, Minimal example 1: \starttext \startformula \startmathalignment[n=2,align={left, right}] \NC always aligned to the right \NC = u + at, \NR \NC d \NC = ut + \frac12 at^2. \NR \stopmathalignment \stopformula \stoptext Despite "align={left, right}", the first column is aligned to the rig

[NTG-context] Formula has excess vertical spacing when in two column itemize

2022-10-21 Thread Gavin via ntg-context
} \right)$ \item\hspace[big] $\frac{d}{dt}\left( 4t^4 - 3t^{\onehalf} \right) $ \item\hspace[big] $\frac{d}{dt}( 9 - 3t )$ \startformula\startmathalignment \NC \frac{d}{dt}( 9 - 3t ) \NC= \frac{d}{dt} 9 - \frac{d}{dt} 3t \NR \NC \NC= 0 - 3\frac{d}{dt} t \NR \NC \NC= -3\cdot 1t^0 \NR \NC \NC

Re: [NTG-context] underbrace under matrix

2022-08-04 Thread Mikael Sundqvist via ntg-context
\,\right)}] > > \starttext > \placeformula[-]\startformula\startmathalignment >\NC\ >A \NC=\underbrace{ >\startpmatrix > \NC 5\NC 5\NR > \NC -1\NC 7\NR >\stoppmatrix}\NR >\NC\NC=\underbrace{ >\startpmatrix > \NC 2\NC 1\NR > \N

[NTG-context] underbrace under matrix

2022-08-04 Thread Jethro Djan via ntg-context
={\left(\,},right={\,\right)}] \starttext \placeformula[-]\startformula\startmathalignment

Re: [NTG-context] Numbering in mathalignment not working

2022-05-24 Thread Mikael Sundqvist via ntg-context
gt; > and with all the wiki examples on \startmathalignment > (https://wiki.contextgarden.net/Command/_startmathalignment). > > L. Montgomery > > El dom, 22 may 2022 a las 0:14, śrīrāma via ntg-context > () escribió: >> >> On 5/19/22 2:04 PM śrīrāma wrote: >>

Re: [NTG-context] Numbering in mathalignment not working

2022-05-24 Thread Luis Montgomery via ntg-context
Same issue with \placeformula \startformula \startalign[number=auto] \NC A_1 x + B_1 y + C_1\NC = 0 \NR[+] \NC A_2 x + B_2 y + C_2\NC = 0 \NR[+] \stopalign \stopformula and with all the wiki examples on \startmathalignment ( https://wiki.contextgarden.net/Command/_startmathalignment). L

Re: [NTG-context] Numbering in mathalignment not working

2022-05-21 Thread śrīrāma via ntg-context
g: only one statement is numbered even if > multiple are requested. > > The following example does not produce the expected result > both the equations should be numbered when only the first one is – > > \starttext > > \placeformula > \startformula > \

Re: [NTG-context] Numbering in mathalignment not working

2022-05-19 Thread Luis Montgomery via ntg-context
esult (sample > attached): > both the equations should be numbered when only the first one is – > > \starttext > > \placeformula > \startformula > \startmathalignment > \NC a \NC = b \NR[eq:one] > \NC c \NC = d \NR[eq:two] > \stopmatha

[NTG-context] Numbering in mathalignment not working

2022-05-19 Thread śrīrāma via ntg-context
example does not produce the expected result (sample attached): both the equations should be numbered when only the first one is – \starttext \placeformula \startformula \startmathalignment \NC a \NC = b \NR[eq:one] \NC c \NC = d \NR[eq:two] \stopmathalignment

[NTG-context] Line numbering inside display math with mathalign and splitformula

2022-03-28 Thread śrīrāma via ntg-context
\startformula\startmathalignment \NC {\mathcal H}_0 \NC : \text { the null hypothesis } \NR \NC {\mathcal H}_1 \NC : \text { the alternate hypothesis } \NR \stopmathalignment \stopformula \startsplitformula\startmathalignment \NC t \NC = f_t(x) \NR \NC m_t \NC = f_m(x) \NR

Re: [NTG-context] mathalignment not working (? again ?)

2022-03-02 Thread śrīrāma via ntg-context
On Wednesday, March 2, 2022 1:15 PM Mikael Sundqvist via ntg-context wrote: > \starttext > \placeformula > \startformula > \startmathalignment[n=7,align={1:right,2:left,3:right,4:left,5:right,6:left,7:righ > t}] \NC x_1 \NC + \NC x_2 \NC + \NC 6x_3 \NC = \NC 170, \NR > \NC 3x_

Re: [NTG-context] mathalignment not working (? again ?)

2022-03-01 Thread Mikael Sundqvist via ntg-context
laceformula > \startformula > \startmathalignment[n=7,align={right,left,right,left,right,left,right}] > \NC x_1 \NC + \NC x_2 \NC + \NC 6x_3 \NC = \NC 170, \NR > \NC 3x_1 \NC - \NC 110x_2 \NC - \NC x_3 \NC = \NC 4, \NR > \NC 14x_1 \NC + \NC 13x_2 \NC + \NC 10x_3 \NC = \NC 2

[NTG-context] mathalignment not working (? again ?)

2022-03-01 Thread śrīrāma via ntg-context
Hi, While setting some rather large set of equations in a document I could not achieve proper alignment of columns in mathalignment. Below is a demonstrative example: \starttext \placeformula \startformula \startmathalignment[n=7,align={right,left,right,left,right,left,right}] \NC x_1 \NC

Re: [NTG-context] Sum and mathalignment

2021-11-30 Thread Bruce Horrocks via ntg-context
t; \framed[frame=off,background=midrule,boffset=.65cm]{\startformula > > \startmathalignment[n=12,align={middle,middle,middle,middle,middle,middle,middle,middle,middle,middle,middle,middle}] > \NC \NC S_6 \NC= \NC 1 \NC+ \NC 2 \NC+ \NC\dots \NC+ \NC 5 \NC+ \NC 6 \NR > \NC + \

[NTG-context] Sum and mathalignment

2021-11-30 Thread Alexandre Christe via ntg-context
Dear list, [image: image.png] What I've done is to play with mathalignment and \framed. Here is a MWE: \starttext \defineoverlay[midrule][{\blackrule[height=.02cm,width=5.5cm]}] \framed[frame=off,background=midrule,boffset=.65cm]{\startformula \startmathalignment[n=12,align={middle,middle

Re: [NTG-context] Converting LaTeX math to ConTeXt

2021-10-10 Thread Jason Ross via ntg-context
On 10/10/21 3:23 AM, Hans Hagen wrote: what do you mean with 'quite different' Hans Hi Hans, My current stumbling block is dealing with the `align` environment. I replace `\begin{align}/\end{align}` with `\startmathalignment/\stopmathalignment`, and replace all `&` characters with

Re: [NTG-context] Equation alignment

2021-09-07 Thread Wolfgang Schuster via ntg-context
c{-b \pm \sqrt{b^2-4ac}}{2a} \cr } \stopformula \stoptext Both ampersands are rendered literally. Does anyone know how to properly typeset aligned equations? \starttext \startformula \startmathalignment%[align={right,left}] \NC ax^2+bx+c \NC = 0    \NR \NC x \NC

[NTG-context] Bug with mathalignment and columns

2021-08-23 Thread Jack Hill via ntg-context
= 1, 98, 1 do context(lorum) end \stopluacode \startformula \startmathalignment[n=1] \NC y = ax \NR \NC a^2 + b^2 = c^2 \NR \NC x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \NR \stopmathalignment \stopformula \stopcolumns \stoptext Adding text after the formula seems to fix the issue, but that mea

Re: [NTG-context] Issue with math alignments

2020-12-15 Thread Jairo A. del Rio
I've just realized I was missing "n=6". Sorry for the noise. Regards, Jairo El mar, 15 de dic. de 2020 a la(s) 02:24, Jairo A. del Rio ( jairoadelr...@gmail.com) escribió: > Hi, list! The following > > > \starttext > > \startformula > > \startmathalignment &g

[NTG-context] Issue with math alignments

2020-12-14 Thread Jairo A. del Rio
Hi, list! The following \starttext \startformula \startmathalignment \NC 0 ; \NC 0,3 ; \NC 0,33 ; \NC 0,333 ; \NC 0, ; \NC \cdots \NR \NC 1 ; \NC 0,4 ; \NC 0,34 ; \NC 0,334 ; \NC 0,3334 ; \NC \cdots \NR \stopmathalignment \stopformula \stoptext stops working both in MkIV and LMTX

Re: [NTG-context] More funny numbers

2020-06-12 Thread Hans Hagen
On 6/12/2020 4:35 AM, Jairo A. del Rio wrote: Hi everyone! The following example shows that numerators of fractions inside math alignment environments appear with a funny size: \startTEXpage \startformula \startmathalignment[n=1,align=middle] \NC \frac{1351}{780}>\sqrt{3}>\frac{26

[NTG-context] More funny numbers

2020-06-11 Thread Jairo A. del Rio
Hi everyone! The following example shows that numerators of fractions inside math alignment environments appear with a funny size: \startTEXpage \startformula \startmathalignment[n=1,align=middle] \NC \frac{1351}{780}>\sqrt{3}>\frac{265}{153}, 3013 \frac{3}{4}>\sqrt{9082321}, \quad 183

[NTG-context] Math delimiters across math alignment environments

2020-05-29 Thread Jairo A. del Rio
is: is it possible to make math fences work in a math alignment, e.g. \definemathfence[something][brace][command=yes] \startformula \startmathalignment[n=2,align={middle,middle}] %This won't work (I didn't expected to work, anyway) \NC \NC \something{\frac{1}{2} + \NR \NC \NC x} \NR \stopmathalignment

Re: [NTG-context] Alignment

2019-05-13 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 13.05.2019 um 22:45: Hi, Not having too many ideas, I did this: is there not a more elegant way ? \definemathmatrix [pmatrix] [matrix:parentheses] [simplecommand=MATRIX] \starttext \startformula   \startmathalignment   \NC P \times M = P \NC \iff \MATRIX{x,y

[NTG-context] mathalign: specifying distance with glue

2019-04-23 Thread Aditya Mahajan
mathalign by using distance=2em plus 1fil. However, on a recent context, the glue gets ignored. \starttext \startformula \startmathalignment[m=2,distance=2em plus 1 filll]%Notice distance=... \NC \nabla\cdot \bf E \NC= \frac{\rho}{\varepsilon_0}, \NC \nabla\times \bf E \NC= -\frac{\par

Re: [NTG-context] Equivalent of alignat of amsmath with context

2019-01-05 Thread Fabrice Couvreur
> > > > > > > \begin{document} > > > > > > > > \begin{alignat*}{2} > > &\qquad& > > > > > > \frac{\lvert\overline{AD}\rvert}{\lvert\overline{CD}\rvert} > > > > > > &=\frac{\lvert\overline{DC}\rvert}{\lvert\overline

Re: [NTG-context] Equivalent of alignat of amsmath with context

2019-01-05 Thread Otared Kavian
> > \frac{\lvert\overline{AD}\rvert}{\lvert\overline{CD}\rvert} > > > &=\frac{\lvert\overline{DC}\rvert}{\lvert\overline{CE'}\rvert}\\ > \iff&& \frac{1}{x}&=\frac{x}{1-x}\\ > \iff&& 1-x&=x^2\\ > \iff&& 0&= > x^2+x-1 >

[NTG-context] Equivalent of alignat of amsmath with context

2019-01-05 Thread Fabrice Couvreur
\overline{CE'}\rvert}\\\iff&& \frac{1}{x}&=\frac{x}{1-x}\\\iff&& 1-x&=x^2\\\iff&& 0&=x^2+x-1\end{alignat*} \end{document} \starttext \startformula \startmathalignment[n=3] \NC \qquad \NC\frac{\lvert\overline{AD}\rvert}{\lvert\overline{CD}\rvert} \NC =\fr

Re: [NTG-context] Undesirable space with mixedcolumns

2017-10-27 Thread Fabrice Couvreur
on en déduit que la limite de la suite \math{(u_n)} est égale à 2\,000. Si l'évolution des utilisateurs se maintient à long terme, le nombre de calculatrices vendues se stabiliserait autour de 2 millions. \startformula \startmathalignment[n=2,align={right,left}] \NC (1+t)

Re: [NTG-context] Page printed upside down

2017-10-23 Thread Fabrice Couvreur
> \starttext > \dorecurse{4}{\chapter{Chapter \Romannumerals{\recurselevel}} > \section{\TeX}\input knuth\par > \section{Zapf}\input zapf\par > \section{Math} > \startformula > \startmathalignment[n=2,align={left,left}] > \NC P_1 + P_2 + \dots + P_{12} \NC

Re: [NTG-context] Page printed upside down

2017-10-22 Thread Pablo Rodriguez
th\par \section{Zapf}\input zapf\par \section{Math} \startformula \startmathalignment[n=2,align={left,left}] \NC P_1 + P_2 + \dots + P_{12} \NC = 400 + 400\times 1,05 + 400\times 1,05^2 + \dots + 400 \times 1,05^{11}\NR \NC \NC = 400\times (1 + 1,05 + 1,05^2 + \dots + 1,

Re: [NTG-context] Page printed upside down

2017-10-21 Thread Fabrice Couvreur
### \definemixedcolumns [MyColumns] [ n=2, separator=rule, rulecolor=, balance=yes, ] \setupalign[verytolerant,stretch,hanging] \starttext \startMyColumns \dorecurse{6}{\input knuth} \startformula \startmathalignment[n=2,align={left,left}] \NC P_1 + P_2 + \dots + P_{12

Re: [NTG-context] Page printed upside down

2017-10-18 Thread Fabrice Couvreur
gt;> separator=rule, >> rulecolor=, >> balance=yes, >> ] >> >> \setupalign[verytolerant,stretch,hanging] >> >> \starttext >> \startMyColumns >> \startformula >> \startmathalignment[n=2,align={left,left}] >>

Re: [NTG-context] Page printed upside down

2017-10-18 Thread Fabrice Couvreur
> n=2, > separator=rule, > rulecolor=, > balance=yes, > ] > > \setupalign[verytolerant,stretch,hanging] > > \starttext > \startMyColumns > \startformula > \startmathalignment[n=2,align={left,left}] > \NC P_1 + P_2 + \dots + P_{12} \NC = 400

Re: [NTG-context] Page printed upside down

2017-10-16 Thread Fabrice Couvreur
,stretch,hanging] \starttext \startMyColumns \startformula \startmathalignment[n=2,align={left,left}] \NC P_1 + P_2 + \dots + P_{12} \NC = 400 + 400\times 1,05 + 400\times 1,05^2 + \dots + 400 \times 1,05^{11}\NR \NC \NC = 400\times (1 + 1,05 + 1,05^2 + \dots + 1,05^{11})\NR \NC \NC

Re: [NTG-context] Broken mathalign in 2017.05.15

2017-09-27 Thread Hans Hagen
On 9/26/2017 11:10 PM, Stephens, Kenny wrote: \starttext \startformula   \startmathalignment[m=2,distance=4em]    \NC \text{slope}_A \NC = 0    \NC \text{slope}_B \NC = \frac{1}{2} \NR   \stopmathalignment \stopformula \stoptext In ConTeXt 2017.05.15 (shipped with TexLive 2017

[NTG-context] Broken mathalign in 2017.05.15

2017-09-26 Thread Stephens, Kenny
\starttext \startformula \startmathalignment[m=2,distance=4em] \NC \text{slope}_A \NC = 0 \NC \text{slope}_B \NC = \frac{1}{2} \NR \stopmathalignment \stopformula \stoptext In ConTeXt 2017.05.15 (shipped with TexLive 2017), the second column is formatted as text rather than math

Re: [NTG-context] mathalignment vs mathmatrix

2017-09-08 Thread Henri
below which incorporates your requested changes.  Fails with 2017.09.07 23:44 (It worked before, so your version 2017.09.05 15:10 seems to be unaffected). --- \starttext \startformula   \startmathalignment \NC \psi_{+,\mathord\Uparrow} ... \startmathmatrix   \NC 0 \NC 1 \NR   \NC 1

Re: [NTG-context] mathalignment vs mathmatrix

2017-09-08 Thread Otared Kavian
ttext > > \placeformula > \startformula > \startmathalignment > \NC \psi_{+,\Up} ... > \startmathmatrix > \stopmathmatrix > \NR > \NC \psi_{+,\Dn} ... > \NR > \stopmathalignment > \stopformula > > \stoptext _

[NTG-context] mathalignment vs mathmatrix

2017-09-07 Thread Henri
} \define\Dn{\mathord\Downarrow} \starttext \placeformula \startformula   \startmathalignment \NC \psi_{+,\Up} ... \startmathmatrix \stopmathmatrix \NR \NC \psi_{+,\Dn} ... \NR   \stopmathalignment \stopformula \stoptext

Re: [NTG-context] mathalignment and grid

2017-07-03 Thread Hans Hagen
e \starttext \input knuth \startformula \startmathalignment \NC i\hbar\frac{\diff}{\diff t}\psi \NC= \left( - \frac{\hbar^2}{2 m} \nabla^2 + V(r) \right) \psi \NR \NC F(x) \NC= \int f(x) \diff x \NR \stopmathalignment \stopformula \

[NTG-context] mathalignment and grid

2017-07-03 Thread Henri Menke
oup    \fi} \protect \stopmode \starttext \input knuth \startformula   \startmathalignment \NC i\hbar\frac{\diff}{\diff t}\psi \NC= \left( - \frac{\hbar^2}{2 m} \nabla^2 + V(r) \right) \psi \NR \NC F(x) \NC= \int f(x) \diff x \NR   \stopmathalignment \stopformula \

Re: [NTG-context] next beta

2017-06-14 Thread Hans Hagen
equations would be much easier and faster. attached what will be provided ... experimental for a while (not in the mood now for harder stuff) That looks really good! Will it be possible to combine that with \startmathalignment? And if not can you pass several \alignhere commands and force breakin

Re: [NTG-context] next beta

2017-06-14 Thread Mathias Schickel
hing fits. If you could mark >> certain lines of an equation to be allowed to be broken at the end of a >> page, working with multiple line equations would be much easier and faster. > attached what will be provided ... experimental for a while (not in the mood > now for harder st

Re: [NTG-context] Strange interaction between mathalignment and mathmatrix

2017-06-06 Thread Hans Hagen
\startmathalignment \NC \sigma_x \NC= {\startpmatrix \NC 0 \NC 1 \NR \NC 1 \NC 0 \NR \stoppmatrix} \NR[+] \stopmathalignment \stopformula \stoptext I'll add \NN so that we can this too: \NN[+] ... \NC ... \NC ... \NR (needed when we have left sided numbers

Re: [NTG-context] Strange interaction between mathalignment and mathmatrix

2017-06-06 Thread Hans Hagen
\startmathalignment \NC \sigma_x \NC= {\startpmatrix \NC 0 \NC 1 \NR \NC 1 \NC 0 \NR \stoppmatrix} \NR[+] \stopmathalignment \stopformula \stoptext yes. in retrospect giving \NR an argument was a bad idea as we need to pick it up in advance .. tricky

Re: [NTG-context] Strange interaction between mathalignment and mathmatrix

2017-06-05 Thread Henri Menke
Wow, mathalignment is completely screwed in beta and TL2017.  Hans, please fix! --- \starttext \placeformula \startformula   \startmathalignment[m=2] \NC a^2 + b^2 \NC= c^2 \NC a^2 + b^2 \NC= c^2 \NR   \stopmathalignment \stopformula \stoptext On Tue, 2017-06-06 at 11:06 +1200, Henri

Re: [NTG-context] Strange interaction between mathalignment and mathmatrix

2017-06-05 Thread Henri Menke
It seems that \NC in mathalignment is looking ahead for the next \NR, because when I wrap the matrix in an explicit brace group it works fine again: \definemathmatrix   [pmatrix]   [left=\left(,right=\right)] \starttext \placeformula \startformula   \startmathalignment \NC \sigma_x \NC

[NTG-context] Strange interaction between mathalignment and mathmatrix

2017-06-05 Thread Henri Menke
ers, Henri --- \definemathmatrix   [pmatrix]   [left=\left(,right=\right)] \starttext \startformula   \startmathalignment \NC \sigma_x \NC= \startpmatrix   \NC 0 \NC 1 \NR   \NC 1 \NC 0 \NR \stoppmatrix \NR[+] \NC \sigma_y \NC= \startpmatrix   \NC 0 \NC -i \NR   \NC i

Re: [NTG-context] mathalignment and grid

2016-08-28 Thread Henri Menke
back,nowhite,2*line}] > > \showgrid > \starttext > > \input ward > \startformula > \startmathalignment > \NC \sum_{i,\alpha,\beta} c_{i,\alpha}^\dagger c_{i,\beta} \NR > \NC \sum_{i,\alpha,\beta} c_{i,\alpha}^\dagger c_{i,\beta} \NR > \stopmathalignment >

[NTG-context] mathalignment and grid

2016-08-28 Thread Henri Menke
grid there is also no problem. How do I fix mathalignment to prevent this? Cheers, Henri --- \setuplayout[grid=yes] \setupbodyfont[lucidaot,9pt] %\setupformulas[spaceafter={back,nowhite,2*line}] \showgrid \starttext \input ward \startformula \startmathalignment \NC \sum_{i,\alpha,\beta

[NTG-context] space between equations in mathalignment

2016-06-13 Thread massifr
/msg34316.html and the answer seems to be "no". Working example: \starttext \startformula \startmathalignment[n=1] \NC v = u + at, \NR[+] \NC d = ut + \frac{1}{2} at^2. \NR[+] \stopmathalignment \stopformula \stoptext Not working example (what I'd like) \starttext \st

Re: [NTG-context] Latin setupmathematics

2016-05-15 Thread Wolfgang Schuster
\to \everymathematics \setupbodyfont[xits,10pt] \starttext \startformula \startmathalignment \NC I \EQ ∫_S d(x)\, dx \NR \NC I \EQ ∫_S 푑(x)\, dx \NR \NC I \EQ ∫_S d(x)\, dx \NR \NC I \EQ ∫_S 푑(x)\, dx \NR \stopmathalignment \stopformul

Re: [NTG-context] Multiline equations break grid in columnsets

2015-07-24 Thread Hans Hagen
\showgrid \startcolumnset[example] \input knuth \input knuth \input knuth \startformula \startmathalignment \NC x^2 + y^2 \NC = z^2\NR[+] \NC u^2 + v^2 \NC = w^2\NR[+] \stopmathalignment \stopformula \input knuth \input knuth \input

[NTG-context] Multiline equations break grid in columnsets

2015-07-21 Thread Sebastian Ørsted
\input knuth \input knuth \startformula \startmathalignment \NC x^2 + y^2 \NC = z^2\NR[+] \NC u^2 + v^2 \NC = w^2\NR[+] \stopmathalignment \stopformula \input knuth \input knuth \input knuth \stopcolumnset \stoptext A picture of the result can

[NTG-context] Math alignment

2015-07-06 Thread Hans Aberg
. %\def\equlb#1{\left\{ \startalign #1 \stopalign\right.} %\def\equlb#1{\left\{ \startmathalignment #1 \stopmathalignment\right.} \startformula \placeformula[JcoordDef] J^j:\equlb{ω^0 → 0 \cr ω^j → 0} \quad \equlb{ω^k → ω^l \cr ω^l → -ω^k} \stopformula \stoptext

Re: [NTG-context] Math steps (s-pre-50)

2015-05-07 Thread Hans Hagen
\startformula \startmathalignment[n=3,align={right,middle,left}] \NC a \NC = \NC b + c \NR \FlushStep \NC \NC = \NC b - d + d + c \NR \FlushStep \stopmathalignment \stopformula \StopSteps \stoptext use s-pre-60 instead

[NTG-context] Math steps (s-pre-50)

2015-05-06 Thread Troy Henderson
\FlushStep does not seem to work when revealing steps in a mathalignment. Is there a known solution for showing rows of a mathalignment in their own frame? Here is the code that I am using: \usemodule[s-pre-50] \starttext \StartSteps \startformula \startmathalignment[n=3

Re: [NTG-context] Bug in \column

2013-03-22 Thread Xan
\startexercici Resoleu emprant el mètode de substitució: \placeformula \startformula \startmathalignment \NC x + 3y \NC = 9 \NR[+] \NC 2x - y \NC = 3 \NR \stopmathalignment \stopformula \stopexercici \startexercici Resoleu pel mètode de reducció: \placeformula \startformula \startmathalignment \NC 3x

[NTG-context] Bug in \column

2013-03-18 Thread Xan
comuna} \startcolumns \startexercici Resoleu emprant el mètode de substitució: \placeformula \startformula \startmathalignment \NC x + 3y \NC = 9 \NR[+] \NC 2x - y \NC = 3 \NR \stopmathalignment \stopformula \stopexercici \startexercici Resoleu pel mètode de reducció: \placeformula

Re: [NTG-context] [Regression] math: alignment parameters confused

2011-11-25 Thread Hans Hagen
: 2011.10.14 22:47 MKIV fmt: 2011.10.15 int: english/english. Using the minimal example \starttext \placeformula \startformula \startmathalignment[n=4, align={left, right, middle, left}] \NC A \NC B \NC C \NC D \NR \NC AA \NC BB \NC CC \NC DD \NR \stopmathalignment \stopformula \stoptext the last

Re: [NTG-context] [Regression] math: alignment parameters confused

2011-11-24 Thread Paul Menzel
the minimal example \starttext \placeformula \startformula \startmathalignment[n=4, align={left, right, middle, left}] \NC A \NC B \NC C \NC D \NR \NC AA \NC BB \NC CC \NC DD \NR \stopmathalignment \stopformula \stoptext

Re: [NTG-context] [Regression] math: alignment parameters confused

2011-11-24 Thread Aditya Mahajan
int: english/english. Using the minimal example \starttext \placeformula \startformula \startmathalignment[n=4, align={left, right, middle, left}] \NC A \NC B \NC C \NC D \NR \NC AA \NC BB \NC CC \NC DD \NR \stopmathalignment

[NTG-context] [Regression] math: alignment parameters confused

2011-11-20 Thread Paul Menzel
\startformula \startmathalignment[n=4, align={left, right, middle, left}] \NC A \NC B \NC C \NC D \NR \NC AA \NC BB \NC CC \NC DD \NR \stopmathalignment \stopformula \stoptext the last row is aligned like middle instead of left. Thanks, Paul 2011.05.18

Re: [NTG-context] mathalignment within a table - help needed!

2011-05-14 Thread Hans Hagen
- \starttext \bTABLE \bTR \bTD a \eTD \bTD \startmathalignment[n=7,align={right,middle,right,middle,right,middle,right}] \NC 3x\NC +\NC 6y\NC -\NC 2z\NC =\NC -13\NR \NC -6x\NC -\NC 9y\NC +\NC 5z\NC =\NC 22\NR \NC 3x\NC +\NC 3y\NC -\NC

[NTG-context] mathalignment within a table - help needed!

2011-05-13 Thread Alasdair McAndrew
Hello, I'm trying to typeset some linear algebra exercises for my students; the exercises will be within a table, and each second element will be a system of linear equations. This sort of thing: \starttable[|l|M|l|M|] \NC (a) \NC % \startmathalignment[n=7,align={right,middle,right,middle

Re: [NTG-context] mathalignment within a table - help needed!

2011-05-13 Thread Aditya Mahajan
% \startmathalignment[n=7,align={right,middle,right,middle,right,middle,right}] \NC 3x\NC +\NC 6y\NC -\NC 2z\NC =\NC -13\NR \NC -6x\NC -\NC 9y\NC +\NC 5z\NC =\NC 22\NR \NC 3x\NC +\NC 3y\NC -\NC 5z\NC =\NC -13\NR \stopmathalignment \NC (b) \NC % \startmathalignment[n=7,align={right,middle,right

Re: [NTG-context] mathalignment within a table - help needed!

2011-05-13 Thread Alasdair McAndrew
will be a system of linear equations. This sort of thing: \starttable[|l|M|l|M|] \NC (a) \NC % \startmathalignment[n=7,align={right,middle,right,middle,right,middle,right}] \NC 3x\NC +\NC 6y\NC -\NC 2z\NC =\NC -13\NR \NC -6x\NC -\NC 9y\NC +\NC 5z\NC =\NC 22\NR \NC 3x\NC +\NC 3y\NC

[NTG-context] writing physical quantities in maths mode

2011-03-11 Thread Ian Lawrence
Morning all, I have a need to write a lot of physical quantities - these should be in text mode. Mostly I can manage, but subscripts are causing me grief Eg \startformula \startmathalignment[n=3] \NC \text{F}\NC =\NC {\text{GMm} \over \text r^2}\NR \NC \text {force}_G \NC =\NC {\text{G} \times

Re: [NTG-context] writing physical quantities in maths mode

2011-03-11 Thread Mojca Miklavec
On Fri, Mar 11, 2011 at 10:14, Ian Lawrence physics.roo...@gmail.com wrote: Morning all, I have a need to write a lot of physical quantities - these should be in text mode. Mostly I can manage, but subscripts are causing me grief Eg \startformula \startmathalignment[n=3] \NC \text{F}\NC

[NTG-context] help with startformulas and startalign

2010-07-27 Thread Julian Becker
flushing realpage 1, userpage 1, subpage 1 systems : end file test.tex at line 14 Does anybody know how to do this right? Startformulas itself works allright, if I leave out the alignment part. I also tried startmathalignment instead, but it gave the same errors. Best regards, Julian

[NTG-context] math alignment broken? (was \startmathalignment vertical spacing)

2010-05-19 Thread Alan BRASLAU
Mar 2010, Troy Henderson wrote: Is there any way to change the amount of vertical space produced by \NR within \startmathalignment ... \stopmathalignment? There is no such high-level interface. You will have to resort to a low-level \openup. \starttext \startformula \startalign \NC

Re: [NTG-context] math alignment broken? (was \startmathalignment vertical spacing)

2010-05-19 Thread Taco Hoekwater
Alan BRASLAU wrote: Is \startformula\startalign\stopalign\stopformula broken in context mkiv? After just updating the minimals, I now get (using the example below): See this thread: http://archive.contextgarden.net/message/20100513.211849.e7079712.en.html There will be a new current soon,

[NTG-context] \startmathalignment vertical spacing

2010-03-31 Thread Troy Henderson
Is there any way to change the amount of vertical space produced by \NR within \startmathalignment ... \stopmathalignment? Thanks, Troy Henderson ___ If your question is of interest to others as well, please add

Re: [NTG-context] \startmathalignment vertical spacing

2010-03-31 Thread Aditya Mahajan
On Wed, 31 Mar 2010, Troy Henderson wrote: Is there any way to change the amount of vertical space produced by \NR within \startmathalignment ... \stopmathalignment? There is no such high-level interface. You will have to resort to a low-level \openup. \starttext \startformula \startalign

Re: [NTG-context] \startmathalignment vertical spacing

2010-03-31 Thread Troy Henderson
Beautiful. \openup does what I want. Thanks, Troy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Math manuals

2010-03-09 Thread Mehdi Omidali
This code for example \startformula \startmathalignment[m=2,distance=4em] \NC x^2+y^2\NC = z^2\NC\NC\text{(By Theorem Bla)}\NR \NC\NC=w^2\NC\NC\text{(By Theorem BlaBla)}\NR \stopmathalignment \stopformula Is this the best way? On 3/9/2010 12:10 PM, luigi scarso wrote: On Tue, Mar 9, 2010

[NTG-context] Problems with bibtex and @incollection

2009-06-06 Thread Xan
). \stopformula \stoplema \startdemo Si $\text{area}(u) = N$ i $\text{area}(v) = M$, aleshores \startformula \startmathalignment \NC u \NC = \prod_{i=1}^N x_i^{-1} r_i x_i, \NR[+] \NC v \NC = \prod_{j=1}^M y_j^{-1} s_j y_j, \NR[+] \stopmathalignment \stopformula% per a alguns $x_i, y_j \in F

Re: [NTG-context] Indent after formula in enumeration

2009-05-30 Thread Xan
\startdemo Si $\text{area}(u) = N$ i $\text{area}(v) = M$, aleshores \startformula \startmathalignment \NC u \NC = \prod_{i=1}^N x_i^{-1} r_i x_i, \NR[+] \NC v \NC = \prod_{j=1}^M y_j^{-1} s_j y_j, \NR[+] \stopmathalignment \stopformula% per a alguns $x_i, y_j \in F(A)$, $r_i, s_j \in R$, on aquestes

Re: [NTG-context] Indent after formula in enumeration

2009-05-30 Thread Xan
] and \starttext \startdemo Si $\text{area}(u) = N$ i $\text{area}(v) = M$, aleshores \startformula \startmathalignment \NC u \NC = \prod_{i=1}^N x_i^{-1} r_i x_i, \NR[+] \NC v \NC = \prod_{j=1}^M y_j^{-1} s_j y_j, \NR[+] \stopmathalignment \stopformula% per a alguns $x_i, y_j \in F(A)$, $r_i

[NTG-context] [***SPAM***] Bug? \getmarking fails under some circumstances

2009-05-12 Thread Oliver Heins
setzt die beiden letztgenannten Formate ein. Hier ein Beispiel für den Mathematiksatz von \TeX{}: \startlinecorrection \vskip-.5\baselineskip \placeformula \startformula \startmathalignment[m=2,distance=2em]%Notice distance=2em \NC \nabla\cdot \bf E \NC= \frac{\rho}{\varepsilon_0}, \NC \nabla

[NTG-context] What is equivalent of latex math aligned in ConTeXt?

2009-05-11 Thread Xan
| n_0 +2 \Rightarrow 2^2 | n_0 +2 \text{ ya que } 2^2 | (2^2)^2 \end{aligned}\right\} \Rightarrow 2^2 | (n_0 + 2 - n_0) \Rightarrow 2^2 | 2 \end{equation*} in ConTeXt? I tried something like: \startformula \startmathalignment \NC \startaligned \NC \lambda_{0, \lvert k - s \rvert} (n) \NC f(n) \NR

Re: [NTG-context] What is equivalent of latex math aligned in ConTeXt?

2009-05-11 Thread Aditya Mahajan
like: \startformula \startmathalignment \NC \startaligned \NC \lambda_{0, \lvert k - s \rvert} (n) \NC f(n) \NR \NC \text{ per a $n$ suficientment gran } \NC \NR \stopaligned \NC \iff \startaligned \NC \lambda_{s, k} (n) \NC f(n) \NR \NC \text{ per a $n$ suficientment gran } \NC \NR \stopaligned

Re: [NTG-context] + as plain vanilla math character

2007-09-20 Thread Oliver Buerschaper
\ket#1{\lvert#1\rangle} \startmathcollection[default] \definemathcharacter [myplus] [ord] [mr] [2B] \stopmathcollection \starttext Note the spacing in \startformula \startmathalignment \NC\ket{+}\NR \NC\ket{++}\NR \NC\ket{+++}\NR \NC\ket{}\NR \NC\ket{\myplus\myplus\myplus\myplus}\NR

Re: [NTG-context] New math feature requests

2006-08-24 Thread Aditya Mahajan
confusion, have \setupformulatagging[left=...,right=...]. However, this idea does not work inside \startmathalignment as the conversion can not be changed inside a formula. \placeformula \startformula \startalign \NC a \NC = b \NR[+] \setupformulas[conversion=set 1] \NC c \NC = d \NR